package com.molichuxing.services.infrastructure.dao;

import org.apache.ibatis.annotations.Param;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.HandoverBean;

public interface HandoverMapper extends RootMapper<HandoverBean> {

	/**
	 * 获取交接单信息
	 * 
	 * @param orderCode
	 *            订单号
	 * @param type
	 *            交接单类型
	 * @return
	 */
	HandoverBean getHandoverByorderCode(@Param("orderCode") Long orderCode, @Param("type") Integer type);

	/**
	 * 修改车辆交接信息
	 * 
	 * @param handoverBean
	 * @return
	 */
	int modify(HandoverBean handoverBean);
}